﻿@model QuanLyGiaoVuUI.Models.TaiLieu.TaoThuMucViewModel
@{
    Layout = null;
}   

@{using (Ajax.BeginForm("TaoThuMuc", "TaiLieuGiangVien", new AjaxOptions
      {
          HttpMethod = "POST",
          OnSuccess = "TaoThuMucThanhCong"
      }))
  { 
    <table border="0" cellpadding="0" cellspacing="0" id="id-form">
        <tr>
            <th valign="top">@Html.LabelFor(model => model.TenThuMuc)</th>
            <td>@Html.TextBoxFor(model => model.TenThuMuc)</td>
            <td>@Html.ValidationMessageFor(model => model.TenThuMuc)</td>
        </tr>
        <tr>
            <th valign="top">@Html.LabelFor(model => model.MaThuMucCha)</th>
            <td>@Html.DropDownList("MaThuMucCha", new SelectList(Model.DanhSachThuMuc, "MaThuMuc", "TenThuMuc"))</td>
        </tr>
    </table>
    <input type="submit" id="submitTaoThuMuc" value="" style="display: none" />
  }
}
